package com.lujianfei.babymilkmemory.utils

import android.content.pm.PackageManager
import com.lujianfei.babymilkmemory.MyApplication

object AppUtils {

    fun getMetaData(key: String): String? {
        return MyApplication.INSTANCE.packageManager?.getApplicationInfo(MyApplication.INSTANCE.packageName, PackageManager.GET_META_DATA)?.metaData?.getString(key)
    }
}